Hello,
We are trying to make a SSL connection to DB2 [AS400-Iseries] from Biztalk 2010. We used a .UDL file to test the connection from our Win Server 2008 R2 Enterprise edition. The connection is successful when we connect using the port 446. But we are getting "Access denied" error when we use the port 448 with the certificate name.
From the trace we go following information.
State Transition 8/8/2014 15:24:57.149 Instantiating underlying TcpClient 11124 12116 10 DRDADriverConnect managedssltcpclient.cpp 0
State Transition 8/8/2014 15:24:57.883 Failed to connect using ManagedSslTcpClient 11124 12116 54 DRDADriverConnect managedssltcpclient.cpp 0
State Transition 8/8/2014 15:24:57.883 A TCPIP socket error has occured (5): Access is denied.
11124 12116 73 DRDADriverConnect messages.cpp 0
State Transition 8/8/2014 15:24:57.883 DRDA AR message: Severity: Error, SQLSTATE: 08S01
11124 12116 48 DRDADriverConnect messagesync.h 0
State Transition 8/8/2014 15:24:57.883 Disposing ManagedSslTcpClient 11124 12116 19 DRDADriverConnect managedssltcpclient.cpp 0
State Transition 8/8/2014 15:24:57.883 Disposing TCP Manager 11124 12116 76 DRDADriverConnect tcpmanager.cpp 0
We are using following connection string to test our connection.
[oledb]
; Everything after this line is an OLE DB initstring
Provider=DB2OLEDB;Cache Authentication=False;Password=*****;Persist Security Info=True;User ID=****;Initial Catalog=****;Authentication=Server;Defer Prepare=False;Binary Codepage=0;DateTime As Char=False;Use Early Metadata=False;Derive Parameters=False;Rowset
Cache Size=0;Network Transport Library=TCPIP;Host CCSID=37;PC Code Page=1252;Max Pool Size=100;Network Address=OSMSOUTH;Network Port=446;Package Collection=MICSDEV;Default Schema=MICSDEV;DBMS Platform=DB2/AS400;Process Binary as Character=True;DateTime As
Date=False;AutoCommit=True;Connection Pooling=True;Units of Work=RUW
will be highly appreciated.
Thanks
Vijay.